function [ B ] = my_edgeDetection( img )
%MY_EDGEDETECTION
% Consumes gray image and returns binary image
% where 1 is edge and 0 not

% Built-in function edge deliveres a binary image/matrix
% In this case the canny filter returns the best result
% and the threshold of 0.2 is user-defined and specified on the image

B = edge(img, 'canny', 0.2);


end

